<?php
namespace BP\Sys;

use BP\En\EntityNoName;

require_once("BP/En/Map.php");
class MapDataTemplate extends EntityNoName {
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__String ($no) // [String no]
	{
		$me = new self();
		return $me;
	}
	public function getEnMap () 
	{
		if (($this->get_enMap() != NULL))
		{
			return $this->get_enMap();
		}
		$map = new Map("Sys_MapData", "表单模版�?");
		$map->Java_SetDepositaryOfEntity($Depositary->None);
		$map->Java_SetDepositaryOfMap($Depositary->Application);
		$map->Java_SetEnType($EnType->Sys);
		$map->Java_SetCodeStruct("4");
		$map->AddTBStringPK(MapDataTemplateAttr::$No, NULL, "编号",  TRUE ,  FALSE , 1, 150, 100);
		$map->AddTBString(MapDataTemplateAttr::$Name, NULL, "描述",  TRUE ,  FALSE , 0, 200, 20);
		$map->AddTBString(MapDataTemplateAttr::$PTable, NULL, "物理�?",  TRUE ,  FALSE , 0, 100, 20);
		$map->AddTBInt("IsTemplate", 0, "是否是表单模�?",  TRUE ,  FALSE );
		$map->AddTBAtParas(4000);
		$this->set_enMap($map);
		return $this->get_enMap();
	}
}
?>
